//package com.TauriaTourUtil;
//
//import com.TauriaTour.R;
//
//import android.app.Activity;
//import android.os.Bundle;
//import android.widget.Gallery;
//import android.widget.Toast;
//import android.widget.AdapterView;
//import android.widget.AdapterView.OnItemClickListener;
//import android.view.View;
//
//public class GalleryTestActivity extends Activity {
//    /** Called when the activity is first created. */
//    @Override
//    public void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.frag_listfotos);
//        
//        Gallery gallery = (Gallery)findViewById(R.id.gallery);
//        gallery.setAdapter(new ImageAdapter(this));
//
//        gallery.setOnItemClickListener(new OnItemClickListener() {
//            public void onItemClick(AdapterView parent, View v, int position, long id) {
//                Toast.makeText(GalleryTestActivity.this, "" + position, Toast.LENGTH_SHORT).show();
//            }
//        });
//    }
//}